package com.quanyan.search.entity.request;

import java.util.List;

/**
 * ReqActivitySearchInfo
 * 活动搜索条件
 * @author Tu Chun
 * @date 2016/6/4
 */
public class ReqActivitySearchInfo extends BaseRequest{

    /**
     * 城市id
     */
    private Integer cityId;
    /**
     * 地区id
     */
    private Integer districtId;
    /**
     * 经营类型id
     */
    private Integer categoryId;
    /**
     * 排序id
     * 1、智能排序（时间降序 距离升序）SearchConstants.ACTIVITY_SMART_SORT
     * 2、离我最近 距离升序排序 SearchConstants.ACTIVITY_DISTANCE_SORT
     * 3、时间升序排序  SearchConstants.ACTIVITY_TIME_SORT
     */
    private Integer sortId;
    /**
     * 用户维度
     */
    private Double lat;
    /**
     * 用户经度
     */
    private Double lng;

    /**
     * 日期条件
     * 1、只看周末 SearchConstants.ACTIVITY_ONLY_WEEKEND
     * 2、只看黄金时段 (19-22点) SearchConstants.ACTIVITY_ONLY_PRIME_TIME
     * 3、星期一 SearchConstants.ACTIVITY_MONDAY
     * 4、星期二 SearchConstants.ACTIVITY_TUESDAY
     * 5、星期三 SearchConstants.ACTIVITY_WEDNESDAY
     * 6、星期四 SearchConstants.ACTIVITY_THURSDAY
     * 7、星期五 SearchConstants.ACTIVITY_FRIDAY
     * 8、星期六 SearchConstants.ACTIVITY_SATURDAY
     * 9、星期天 SearchConstants.ACTIVITY_SUNDAY
     */
    private Integer dateParam;
    /**
     * 俱乐部或者活动名字
     */
    private String name;

    /**
     * 1 按汉字搜 2 按英文搜 3 按首字母搜 4汉英混合搜 5按数字搜
     */
    private Byte type;

    /**
     * 搜索半径
     */
    private Double distance;

    private List<Integer> categories;

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public List<Integer> getCategories() {
        return categories;
    }

    public void setCategories(List<Integer> categories) {
        this.categories = categories;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Integer getDateParam() {
        return dateParam;
    }

    public void setDateParam(Integer dateParam) {
        this.dateParam = dateParam;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }
}
